﻿using SqlSugar;
using System;

namespace WebApi.Model
{
    [SugarTable("Report")]
    public class Report
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 汽车衡编号
        /// </summary>
        public string ScaleCode { get; set; }

        /// <summary>
        /// 报表名
        /// </summary>
        public string RptName { get; set; }

        /// <summary>
        /// 报表类型：1-明细报表；2-；3-自定义报表
        /// </summary>
        public int RptType { get; set; }

        /// <summary>
        /// 报表文件名
        /// </summary>
        public string RptFileName { get; set; }

        /// <summary>
        /// 分类报表的显示参数列，汇总报表的分组列
        /// </summary>
        public string Fields { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 是否可用（0不可用，1可用）
        /// </summary>
        public int IsEnable { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int? OrderNum { get; set; }
    }
}